/**
 * 路由统一管理 
 */

import my from './my'
import invite from "./invite"
// import Lovezone from './Lovezone'
import shop from './shop'
import coupon from "./coupon";
import Housekeeping from "./Housekeeping";

import search from "./search";
import memberSpace from "./memberSpace";
import NewProduct from "./NewProduct";
import aftersale from "./aftersale";
import message from "./message";
import login from "./login";
export default [
    {
        path: '/',
        component: () => import('../components/Tabbar'),
        meta: { title: '美丽云' },
        children: [
            {
                path: '/',
                name: 'home',
                component: () => import('../views/Home'),
                meta: { title: '美丽云' },
            },
            {
                path: '/Housekeeping',
                name: 'Housekeeping',
                component: () => import('../views/Housekeeping/index.vue'),
                meta: { title: '服务专区' },

            },
            {
                path: '/category',
                name: 'category',
                component: () => import('../views/category/index'),
                meta: { title: '分类' },
            },
            {
                path: '/cart',
                name: 'cart',
                component: () => import('../views/cart/index'),
                meta: { title: '购物车' },
            },
            {
                path: '/my',
                name: 'my',
                component: () => import('../views/my/index'),
                meta: { title: '我的' },
            },

        ],
    },
    ...my,
    ...login,
    ...shop,
    ...message,
    ...NewProduct,
    ...coupon,
    ...Housekeeping,
    ...aftersale,
    ...search,
    ...memberSpace,
    ...invite
]